<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>管理员登录</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery-easyui-1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<link rel="stylesheet" type="text/css" href="css/model.css" />

</head>
<body style="background-color: #F3F3F3">

	<div id="stage">
		<div id="login">
				<h2>Dracarys-Mall</h2>
				<div id="content">
					<div class="login-username">
						<span></span>
						<input type="text" name="username" class="form-control">
					</div>
					<div class="login-username">
						<span class="b"></span>
						<input type="password" name="password" class="form-control password">
					</div>
					<button onclick="login()" class="btn btn-lg btn-warning" type="submit">登录</button>
				</div>
			<div class="copyright">Copyright ©2017  版本：V1.0</div>
	</div>
	</div>
    <script type="text/javascript">
		function login() {
		    var username = $("[name=username]").val();
            var password = $("[name=password]").val();
            if(username=="admin" && password=="admin"){
                window.location.assign("../index")
			}
        }
    </script>
</body>
</html>